export default [
  {
    method: 'GET',
    url: '/admin/getMenu',
    request: {
    },
    response: {
      list: [
        {
          _id: '@id',
          expand: true,
          title: '内容管理',
          name: 'content_management',
          path: '/content',
          component: 'Main',
          hideInBread: false,
          hideInMenu: false,
          notCache: false,
          icon: 'md-albums',
          sort: 1,
          redirect: '',
          type: 'menu',
          link: '',
          'operations|1-4': [
            {
              name: '资源名称',
              path: '/test',
              'method|1': [
                'post',
                'get',
                'delete',
                'update'
              ],
              'type|1': ['api', 'btn'],
              remark: ''
            }
          ],
          children: [{
            expand: true,
            title: '文章管理',
            name: 'article_management',
            path: 'index',
            component: 'Main',
            hideInBread: false,
            hideInMenu: false,
            notCache: false,
            icon: 'ios-paper',
            sort: 1,
            redirect: '',
            type: 'menu',
            link: '',
            operations: []
          }, {
            expand: true,
            title: '标签管理',
            name: 'tags_management',
            path: 'tags',
            component: 'Main',
            hideInBread: false,
            hideInMenu: false,
            notCache: false,
            icon: 'md-pricetags',
            sort: 1,
            redirect: '',
            type: 'menu',
            link: '',
            operations: []
          }]
        },
        {
          expand: true,
          title: '用户管理',
          name: 'user',
          path: '/user',
          component: 'Main',
          hideInBread: false,
          hideInMenu: false,
          notCache: false,
          icon: 'md-albums',
          sort: 2,
          redirect: '',
          type: 'menu',
          link: '',
          operations: []
        }
      ]
    }
  },
  {
    method: 'POST',
    url: '/admin/addMenu',
    request: {
    },
    response: {
      title: 'test-add',
      expand: true
    }
  },
  {
    method: 'POST',
    url: '/admin/updateMenu',
    request: {
    },
    response: {
      title: 'test-update',
      expand: true
    }
  }
]
